package com.woniuxy.micromedicalserver.departmentmanage.mapper;

import com.woniuxy.micromedicalserver.bean.DepartmentBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DepartmentMapper {

    //根据id，查询
    DepartmentBean selectByID(Integer ID);
    //查询所有, 传递一个接收筛选条件的DepartmentBean
    List<DepartmentBean> selectAllDepartment(@Param("departmentBean") DepartmentBean departmentBean);







}
